package com.mate.cloud.inventory.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Order implements Serializable {

    private String orderId;         // 订单ID
    private String userId;          // 用户ID
    private String productId;       // 产品ID
    private Integer quantity;       // 数量
    private BigDecimal amount;      // 订单金额
    private String status;          // 订单状态
    private LocalDate createTime;        // 创建时间
}
